package models

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	ArticleTitle   string `gorm:"type:varchar(50)"`
	ArticleContent string `gorm:"type:varchar(100)"`
	ArticleAuthor  string `gorm:"type:varchar(50)"`
}
type Order struct {
	gorm.Model
	OrderNames string `gorm:"type:varchar(50)"`
	Aid        int    `gorm:"type:int"`
}
type ArticleOrderList struct {
	OrderID        int
	ArticleTitle   string
	ArticleContent string
	ArticleAuthor  string
	OrderNames     string
}
